package ru.jexp.rcp.supply.beans.ek;

import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Shell;

import ru.jexp.izdelie.detal.DetalBean;
import ru.jexp.rcp.supply.mui.JExpSupplyMessages;
import ru.jexp.rcp.supply.swtext.JExpControlLookup;
import ru.jexp.rcp.supply.swtext.factory.JExpLookupFactory;

public class DetailForm extends EkForm<DetalBean>
{

	public DetailForm(Shell parentShell)
	{
		super(parentShell);
	}

	@Override
	protected JExpControlLookup<DetalBean> createEdinicaIzdeliaLookup(Composite parent)
	{
		return JExpLookupFactory.createDetailLookup(parent, 200);
	}

	@Override
	protected String createTitle()
	{
		return JExpSupplyMessages.Ek_addform_detail_title;
	}

}
